/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dummytests;


import java.io.IOException;
import org.junit.Test;
import org.openide.util.Lookup;
import pl.edu.amu.wmi.kino.visualjavafx.javafxcodegenerators.main.MainGenerator;
import pl.edu.amu.wmi.kino.visualjavafx.model.api.VisualJavaFxModelProvider;

/**
 *
 * @author Admin
 */
public class firstTestEver {
    @Test
    public void main() throws IOException{
        VisualJavaFxModelProvider dummyModel = Lookup.getDefault().lookup(VisualJavaFxModelProvider.class);
        String res=MainGenerator.generateAll(dummyModel.getModel());
        System.out.println(res);
    }

}
